<template>
  <div class="app-container">
    <div>数据配置</div>
  </div>
</template>

<script>
  import { listConfData } from '@/api/configure/data'

  export default {
    name: 'Data',
    data() {
      return {
        // 查询参数
        queryParams: {
          pageNum: 1,
          pageSize: 10,
          userName: undefined,
          phonenumber: undefined,
          status: undefined
        },
        // 日期范围
        dateRange: []
      }
    },
    created() {
    },
    methods: {
      /** 查询列表 */
      getList() {
        this.loading = true
        listConfData(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
            this.userList = response.rows
            this.total = response.total
            this.loading = false
          }
        )
      }
    }
  }
</script>

<style scoped>
</style>
